Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Peter Pentchev [Sat, 2 Apr 2022 19:44:53 +0000 (20:44 +0100)]
libzstd (1.4.10+dfsg-1) unstable; urgency=medium
* Point the Vcs-* fields to the pkg-rpm-team repository.
* New upstream release (Closes: #1008078):
- remove the years from the main upstream copyright notice
- refresh patch line numbers
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Peter Pentchev [Sun, 20 Mar 2022 16:25:50 +0000 (16:25 +0000)]
libzstd (1.4.9+dfsg-1) unstable; urgency=medium
* New maintainer, bring libzstd under the RPM packaging team's umbrella.
Many thanks to the Debian Med Team and everyone else for their work!
* Add my debian/* copyright notice.
* Catch up with a renamed Lintian tag in an override.
* Correct the upstream copyright years.
* Add a trivial git-buildpackage config file.
* New upstream release:
- update the upstream copyright years
- adapt the 0008-Address-embedded-zlib patch
- refresh patch line numbers
* Fix a kFreeBSD FTBFS - UTIME_NOW is not defined.
This commit addresses https://github.com/facebook/zstd/issues/2491.
Note that a downside of this solution is that it is global: `umask()` affects
all file creation calls in the process. I believe this is safe since
`fileio.c` functions should only ever be used in the zstd binary, and these
are (almost) the only files ever created by zstd, and AIUI they're only
created in a single thread. So we can get away with messing with global state.
Note that this doesn't change the permissions of files created by `dibio.c`.
I'm not sure what those should be...
Last-Update: 2021-02-18
Gbp-Pq: Name 0018-fix-file-permissions-on-compression.patch
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Some unaligned accesses are ok on armv6+ but many are not, so violating
C's memory alignment rules is dangerous on this architecture, change
the defines so the code doesn't do it.
This commit addresses https://github.com/facebook/zstd/issues/2491.
Note that a downside of this solution is that it is global: `umask()` affects
all file creation calls in the process. I believe this is safe since
`fileio.c` functions should only ever be used in the zstd binary, and these
are (almost) the only files ever created by zstd, and AIUI they're only
created in a single thread. So we can get away with messing with global state.
Note that this doesn't change the permissions of files created by `dibio.c`.
I'm not sure what those should be...
Last-Update: 2021-02-18
Gbp-Pq: Name 0018-fix-file-permissions-on-compression.patch
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
This commit addresses https://github.com/facebook/zstd/issues/2491.
Note that a downside of this solution is that it is global: `umask()` affects
all file creation calls in the process. I believe this is safe since
`fileio.c` functions should only ever be used in the zstd binary, and these
are (almost) the only files ever created by zstd, and AIUI they're only
created in a single thread. So we can get away with messing with global state.
Note that this doesn't change the permissions of files created by `dibio.c`.
I'm not sure what those should be...
Last-Update: 2021-02-18
Gbp-Pq: Name 0018-fix-file-permissions-on-compression.patch
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Stephen Kitt [Mon, 1 Mar 2021 17:23:52 +0000 (17:23 +0000)]
libzstd (1.4.8+dfsg-2.1) unstable; urgency=medium
* Non-maintainer upload.
* Drop the symbols file: the symbols in the library aren’t all intended
for public consumption, but they can’t be hidden (yet) either, see
https://github.com/facebook/zstd/pull/2501 for the discussion. We’ll
rely on the shlibs file for now, with a relaxed version (1.4.0, as
discussed with upstream). Closes: #969597.
This commit addresses https://github.com/facebook/zstd/issues/2491.
Note that a downside of this solution is that it is global: `umask()` affects
all file creation calls in the process. I believe this is safe since
`fileio.c` functions should only ever be used in the zstd binary, and these
are (almost) the only files ever created by zstd, and AIUI they're only
created in a single thread. So we can get away with messing with global state.
Note that this doesn't change the permissions of files created by `dibio.c`.
I'm not sure what those should be...
Last-Update: 2021-02-18
Gbp-Pq: Name 0018-fix-file-permissions-on-compression.patch
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Étienne Mollier [Thu, 18 Feb 2021 08:52:53 +0000 (08:52 +0000)]
libzstd (1.4.8+dfsg-2) unstable; urgency=high
* Team upload.
* When a file with restricted permissions is compressed, the resulting file
inherits the umask of the user for the time of the compression. This was
partially mitigated previously by running a change of permissions after a
`chmod`, but left a small but exploitable window just after the `fopen`.
This update adds 0018-fix-file-permissions-on-compression.patch to make
sure the compressed file is not group nor world readable for the _entire_
duration of the compression. Closes: #982519
[dgit import unpatched libzstd 1.4.8+dfsg-2]
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
* New upstream version 1.4.8+dfsg, Closes: #977829
* Refresh and remove patch applied by upstream
* Update d/libzstd1.symbols, getSequences() got renamed
to generateSequences(), no reverse deps use ZSTD_getSequences
* d/rules, remove export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing,
fixed by upstream, Closes: #957487
Call dh_makeshlibs with -V 'libzstd1 (>= 1.4.8)', new public symbols
* d/copyright, drop contrib/linux-kernel/fs/squashfs/*
* d/control: bump Policy to 4.5.1
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Andreas Tille [Fri, 7 Aug 2020 18:47:29 +0000 (19:47 +0100)]
libzstd (1.4.5+dfsg-4) unstable; urgency=medium
[ Andreas Tille ]
* Team upload.
* debhelper-compat 13 (routine-update)
[ Sudip Mukherjee ]
* Disable strict-aliasing to work around bug #957487
Intentionally not closing bug but decreasing severity for the moment.
The bug should be closed by a proper upstream fix and
strict-aliasing should be re-enabled.
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch
Skip test failing on GNU/Hurd when writing on /dev/zero or
/dev/random. On different GNU/Hurd installations writing to either one or
another would fail. Currently writing to /dev/random results in the message
"Computer bought the farm" and exit status 1
See also: https://github.com/facebook/zstd/issues/1116
Gbp-Pq: Name 0015-Skip-dev-random-tests-on-hurd.patch